* {
    margin: 0;
    padding: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    font-family: 'Helvetica-Light', 'sans-serif';
    font-size: 13pt;
}

h1 {
    font-family: 'Helvetica-Light', 'sans-serif';
    font-size: 20pt;
    margin: 0;
    padding: 0;
}

h2,h3 {
    font-family: 'Helvetica-Light', 'sans-serif';
    font-size: 16pt;
    margin-top: 10px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    table-layout: fixed;
}

table tr td {
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    border-top: 1px solid #ddd;
}

select {
    border: none;
}

#wrapper {
    margin: 60px 0 60px 0;
    padding: 2px 2.5%;
    font-size: 13pt;
    max-width: 100%;
}

#wrapper button {
    background: -webkit-gradient(linear, left top, left bottom, from(#37aaea), to(#117ed2));
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border-top-color: #1992da;
    border-left-color: #0c75bb;
    border-right-color: #0c75bb;
    border-bottom-color: #00589c;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    padding: 6px 10px;
    margin: 5px 0;
    font-weight: bold;
}

#black-top {
    position: fixed;
    top: 0;
    height: 20px;
    width: 100%;
    background-color: #000;
    z-index: 1;
}

#notification {
    display: none;
    position: relative;
    background-color: #0C71EF;
    width: 100%;
    top: 60px;
    padding: 10px 10px;
    font-style: italic;
    color: #fff;
}


#nat-top .disabled-btn {
    font-style: italic;
    color: #ddd;
    text-shadow: 1px 1px #fff;
}

#nav-top,#nav-bottom {
    border: 1px solid #aaa;
    position: fixed;
    width: 100%;
    background-color: #f0f0f0;
    text-align: center;
    z-index: 1;
}

#nav-top {
    top: 20px;
    height: 40px;
    padding: 0 2%;
}

#nav-top h1 {
    margin-top: 3px;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

#nav-top button {
    border: none;
    height: 100%;
    color: #0C71EF;
}

#nav-top button:active {
    -webkit-transform: scale(0.8, 0.8);
}

#nav-top .glyphicon {
    font-size: 16pt;
}

#btn-top-left,#btn-top-right {
    height: 60px;
    width: 40px;
}

#btn-top-right {
    float: right;
}

#btn-top-left {
    float: left;
}


#nat-bottom .active-btn {
    color: #7e7e7e;
    text-shadow: 2px 2px #fff;
    -webkit-transform: scale(1.1, 1.1);
}

#nat-bottom .disabled-btn {
    font-style: italic;
    color: #ddd;
    text-shadow: 1px 1px #fff;
}

#nav-bottom {
    bottom: 0;
    height: 60px;
}

#nav-bottom button {
    border: none;
    width: 22%;
    height: 100%;
    font-size: 10pt;
}

#nav-bottom .glyphicon {
    width: 100%;
}


#createView label {
    width: 40%;
    margin: 0;
    padding: 5px 0;
}

#createView input {
    width: 50%;
    margin: 0;
    padding-left: 3px;
}

#competitorsList {
    margin-top: 10px;
}

#competitorsList label {
    font-weight: lighter;
}

#createView button:active {
    -webkit-transform: scale(0.9, 0.9);
}

#createView #btn_addCompetitor {
    background: #f0f0f0;
    color: #aaa;
    border: 1px solid #f0f0f0;
}

#createView button {
    width: 100%;
    margin-top: 0;
}


#joinView input,#joinView select {
    width: 100%;
}

#joinView label {
    width: 100%;
}

#joinView button {
    position: relative;
    float: right;
}


.GameTable tr:nth-child(odd) td:first-child {
    width: 30px;
    vertical-align: top;
    color: #aaa;
    font-weight: bold;
}

.GameTable tr:nth-child(odd) td {
    border-top: 1px solid #000;
    padding-top: 5px;
    padding-bottom: 5px;
}

.GameTable tr:nth-child(even) td {
    padding-top: 5px;
    padding-bottom: 15px;
}

#tableView caption {
    font-size: 16pt;
    margin-top: 5px;
}


#editView p {
    font-weight: lighter;
    color: #aaa;
    margin: 10px 0;
    font-style: italic;
}

#editView .help-block{
    color: #f00;
    font-style: normal;
}

#editGame select {
    width: 100%;
    margin-bottom: 20px
}

#editView {
    text-align: center;
}

#editGame label {
    margin: 0;
    padding: 10px;
    display: inline-block;
}

#editGame input {
    width: 40px;
    font-size: 20pt;
    margin: 0;
    text-align: center;
}

#editView button {
    width: 100%;
    margin: 20px 0;
}


#editModal,#errorMessage {
    display: none;
}


@media only screen and (min-width: 1200px) {
    * {
        font-family: 'Helvetica', 'sans-serif';
        font-size: 13pt;
    }
    
    h1 {
        font-family: 'Helvetica', 'sans-serif';
        font-size: 30pt;
        margin: 0;
        padding: 0;
    }
    
    h2, h3 {
        font-family: 'Helvetica', 'sans-serif';
        font-size: 16pt;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    select{
        padding: 0;
        margin: 0;
        border: 1px solid #ddd;
        width: 120px;
        border-radius: 3px;
        overflow: hidden;
        background-color: #fff;
        background: #fff
    }
    
    .active-btn {
        color: #7e7e7e;
        text-shadow: 2px 2px #fff;
        -webkit-transform: scale(1, 1);
    }
    
    #black-top{
        display: none;   
    }
    
    #nav-top {
        top: 0;
        height: 60px;
    }
    
    #createView button, #editView button, #editGame select {
        width: 300px;
    }
    
    #editView button{
        padding-left: auto;
        padding-right: auto;
    }
    
    #editView input{
        width: 50px;   
    }
}